using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace LeisureCenter.Api
{
    public interface IBrowserItem
    {
        string Text { get; }
        string IconName { get; }
        string Description { get; }

        IBrowserFolderItem Folder { get; }

        void Execute();

        void AlternateExecute();

        void OptionsExecute();

        string Thumbnail { get; }

        //Bitmap Thumbnail { get; }
    }

    public interface IBrowserObjectItem : IBrowserItem
    {
    }

    public interface IBrowserFolderItem : IBrowserItem
    {
        IEnumerable<IBrowserItem> Items { get; }

        string Title { get; }

        event EventHandler ItemsChanged;

        void Refresh();
    }

    public interface IBrowserManager
    {
        void Browse(IBrowserFolderItem folder);
    }
}
